
































  
  


  

  
  	
  

  

	
	

	
	
	
	
	




  
















	
	
	
	
	
	
	
	
	
	
  
  


	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




    
  






  
    
  




	
	
	
	
	



<!--NewPage-->
<HTML>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ctql%5CTQLParser%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:40 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD>

<!-- Generated by CFDoc on 07-Apr-2007 01:17 PM -->

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY>


	



<HR>
<!-- ======== START OF CLASS DATA ======== -->

<div style="float:left;">

<a href="default.html" style="float: right;">Documentation home page</a>
</div>
<H2>
<span style="font-size: smaller">
<a href="componentsd9bf.html" target="components">transfer.com.tql</a>
</span>
<BR>
Component TQLParser</H2>


<PRE>
<B>transfer.com.tql.TQLParser</B>
</PRE>


<HR>
The parser that will return the AST


<HR>

<P>


<!-- ========== PROPERTY SUMMARY =========== -->

<A NAME="property_summary"><!-- --></A>






<!-- ========== METHOD SUMMARY =========== -->




<A NAME="method_summary"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>











	





	





	





	





	





	





	





	





	





	





	





	



	<TR BGCOLOR="eeeeff" CLASS="TableRowColorConstructor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="content190a.html" target="_self">TQLParser</a></CODE></TD>
	<TD><CODE><B><A HREF="#init()">init</A></B>(<a href="content5093.html">JavaLoader</a> javaLoader)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor
	</TD>
	</TR>
	

	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_string" target="_self">string</a></CODE></TD>
	<TD><CODE><B><A HREF="#dumpTree()">dumpTree</A></B>(<a href="nativetypes.html#detail_any">any</a> tree)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;walks the tree, and makes a string
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#getJavaLoader()">getJavaLoader</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_numeric" target="_self">numeric</a></CODE></TD>
	<TD><CODE><B><A HREF="#getNodeType()">getNodeType</A></B>(<a href="nativetypes.html#detail_string">string</a> nodeName)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a node type value
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#getTQLParser()">getTQLParser</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#handleTQLSyntaxError()">handleTQLSyntaxError</A></B>(<a href="nativetypes.html#detail_any">any</a> recognitionException,&nbsp;<a href="nativetypes.html#detail_string">string</a> errorMessage,&nbsp;<a href="nativetypes.html#detail_string">string</a> tql)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;handles the TQL syntax error
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>package <a href="nativetypes.html#detail_string" target="_self">string</a></CODE></TD>
	<TD><CODE><B><A HREF="#htmlDisplayTree()">htmlDisplayTree</A></B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;[<a href="nativetypes.html#detail_numeric">numeric</a> level="0"])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;walks the tree, and makes a string
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_string" target="_self">string</a></CODE></TD>
	<TD><CODE><B><A HREF="#resolveErrorNear()">resolveErrorNear</A></B>(<a href="nativetypes.html#detail_string">string</a> tql,&nbsp;<a href="nativetypes.html#detail_numeric">numeric</a> line,&nbsp;<a href="nativetypes.html#detail_string">string</a> charPosition)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns the word the error is near
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#selectStatement()">selectStatement</A></B>(<a href="nativetypes.html#detail_string">string</a> tql)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the AST based on the Select statement TQL
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setJavaLoader()">setJavaLoader</A></B>(<a href="nativetypes.html#detail_any">any</a> JavaLoader)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setTQLParser()">setTQLParser</A></B>(<a href="nativetypes.html#detail_any">any</a> TQLParser)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#throw()">throw</A></B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Throws an Exception
	
	
	</TD>
	</TR>
	
</TABLE>



&nbsp;
<P>



<!-- ============ METHOD DETAIL ========== -->


<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>












<A NAME="dumpTree()"><!-- --></A><H3>
dumpTree</H3>

<PRE>
public <A HREF="nativetypes.html#detail_string" title="">string</A> <B>dumpTree</B>(<a href="nativetypes.html#detail_any">any</a> tree)</PRE>
<DL>
  <DD>
  	
  	
		walks the tree, and makes a string
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> tree</code> - The tree node to walk</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getJavaLoader()"><!-- --></A><H3>
getJavaLoader</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>getJavaLoader</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getNodeType()"><!-- --></A><H3>
getNodeType</H3>

<PRE>
public <A HREF="nativetypes.html#detail_numeric" title="">numeric</A> <B>getNodeType</B>(<a href="nativetypes.html#detail_string">string</a> nodeName)</PRE>
<DL>
  <DD>
  	
  	
		Gets a node type value
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> nodeName</code> - The name of the node type</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getTQLParser()"><!-- --></A><H3>
getTQLParser</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>getTQLParser</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="handleTQLSyntaxError()"><!-- --></A><H3>
handleTQLSyntaxError</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>handleTQLSyntaxError</B>(<a href="nativetypes.html#detail_any">any</a> recognitionException,&nbsp;<a href="nativetypes.html#detail_string">string</a> errorMessage,&nbsp;<a href="nativetypes.html#detail_string">string</a> tql)</PRE>
<DL>
  <DD>
  	
  	
		handles the TQL syntax error
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> recognitionException</code> - antlr.runtime.RecognitionException</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> errorMessage</code> - The error message</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> tql</code> - The errronous tql</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="htmlDisplayTree()"><!-- --></A><H3>
htmlDisplayTree</H3>

<PRE>
package <A HREF="nativetypes.html#detail_string" title="">string</A> <B>htmlDisplayTree</B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;[<a href="nativetypes.html#detail_numeric">numeric</a> level="0"])</PRE>
<DL>
  <DD>
  	
  	
		walks the tree, and makes a string
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> tree</code> - The tree node to walk</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_numeric">numeric</a> level="0"]</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="init()"><!-- --></A><H3>
init</H3>

<PRE>
public <A HREF="content190a.html" title="">TQLParser</A> <B>init</B>(<a href="content5093.html">JavaLoader</a> javaLoader)</PRE>
<DL>
  <DD>
  	
  	
		Constructor
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content5093.html">JavaLoader</a> javaLoader</code> - The Java loader for loading Java classes</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="resolveErrorNear()"><!-- --></A><H3>
resolveErrorNear</H3>

<PRE>
private <A HREF="nativetypes.html#detail_string" title="">string</A> <B>resolveErrorNear</B>(<a href="nativetypes.html#detail_string">string</a> tql,&nbsp;<a href="nativetypes.html#detail_numeric">numeric</a> line,&nbsp;<a href="nativetypes.html#detail_string">string</a> charPosition)</PRE>
<DL>
  <DD>
  	
  	
		returns the word the error is near
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> tql</code> - the errornous tql</DD>
			
			  <DD><code><a href="nativetypes.html#detail_numeric">numeric</a> line</code> - the line number</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> charPosition</code> - the character position</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="selectStatement()"><!-- --></A><H3>
selectStatement</H3>

<PRE>
public <A HREF="nativetypes.html#detail_any" title="">any</A> <B>selectStatement</B>(<a href="nativetypes.html#detail_string">string</a> tql)</PRE>
<DL>
  <DD>
  	
  	
		Returns the AST based on the Select statement TQL
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> tql</code> - The TQL that is being passed in from they query</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setJavaLoader()"><!-- --></A><H3>
setJavaLoader</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setJavaLoader</B>(<a href="nativetypes.html#detail_any">any</a> JavaLoader)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> JavaLoader</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setTQLParser()"><!-- --></A><H3>
setTQLParser</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setTQLParser</B>(<a href="nativetypes.html#detail_any">any</a> TQLParser)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> TQLParser</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="throw()"><!-- --></A><H3>
throw</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>throw</B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</PRE>
<DL>
  <DD>
  	
  	
		Throws an Exception
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> type</code> - The type of exception</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> message</code> - The message to accompany the exception</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> detail=""]</code> - The detail message for the exception</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>







</BODY>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ctql%5CTQLParser%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:40 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
</HTML>